package com.nidu.demo.config.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 配置更新命令
 *
 * @author auto
 */
@Data
@Schema(description = "配置更新命令")
@EqualsAndHashCode(callSuper = true)
public class ConfigUpdateCmd extends ConfigAddCmd {

    /**
     * 配置ID
     */
    @NotNull(message = "配置ID不能为空")
    @Schema(description = "配置ID", example = "1")
    private Long id;
} 